var schedulecontroller = {

    loadScheduleContent : function(){
        var week_num = localStorage.getItem("week_num");
        var day_num = localStorage.getItem("day_num");
        $.mobile.activePage.find("#week_num").text("Week "+week_num);
        if(day_num == 1){
            $.mobile.activePage.find("#day2").click(function(e) {e.preventDefault();});
            $.mobile.activePage.find("#day2").css( 'opacity', '.5' );
            $.mobile.activePage.find("#day3").click(function(e) {e.preventDefault();});
            $.mobile.activePage.find("#day3").css( 'opacity', '.5' );
        }else if(day_num == 2){
            $.mobile.activePage.find("#day1").click(function(e) {e.preventDefault();});
            $.mobile.activePage.find("#day1").css( 'opacity', '.5' );
            $.mobile.activePage.find("#day3").click(function(e) {e.preventDefault();});
            $.mobile.activePage.find("#day3").css( 'opacity', '.5' );
        }else if(day_num == 3){
            $.mobile.activePage.find("#day1").click(function(e) {e.preventDefault();});
            $.mobile.activePage.find("#day1").css( 'opacity', '.5' );
            $.mobile.activePage.find("#day2").click(function(e) {e.preventDefault();});
            $.mobile.activePage.find("#day2").css( 'opacity', '.5' );
        }
    }


}